html,
body {
  margin: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--backgroundColor);
}

::-webkit-scrollbar {
  width: var(--scrollbar-width, 8px);
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #b2b2b2;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a0a0a0;
}

::-webkit-scrollbar-thumb:active {
  background-color: #a0a0a0;
}

::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1);
}

.blur10 {
  backdrop-filter: blur(10px);
}

.opacity-button {
  opacity: 0.6;

  &:hover {
    opacity: 1;
  }
}

.highlight {
  color: var(--primaryColor) !important;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

input {
  outline: none;
  font-size: 1rem;
  padding: 0.4rem 0.6rem;
  border-radius: 2px;
  border: 1px solid var(--dividerColor);
  box-sizing: border-box;
  background: var(--placeholderColor);
  color: var(--textColor);

  &::placeholder {
    opacity: 0.6;
    color: var(--textColor);
  }
}

div[role="button"] {
  cursor: pointer;
  user-select: none;

  &[data-disabled]:not([data-disabled="false"]) {
    cursor: default;
    opacity: 0.5;
    pointer-events: none;
  }

  &[data-type="primaryButton"] {
    background-color: var(--primaryColor);
    font-size: 1em;
    padding: 0.4em 1em;
    border-radius: 1.6em;
    color: white;
    width: fit-content;
  }
  &[data-type="normalButton"] {
    font-size: 1em;
    padding: 0.4em 1em;
    border-radius: 1.6em;
    color: var(--textColor);
    border: 1px solid currentColor;
    width: fit-content;
  }

  &[data-type="dangerButton"] {
    font-size: 1em;
    padding: 0.4em 1em;
    border-radius: 1.6em;
    color: var(--dangerColor);
    border: 1px solid currentColor;
    width: fit-content;

    &[data-fill="true"] {
      color: white;
      background: var(--dangerColor);
    }
  }
}

.divider {
  width: 100%;
  height: 1px;
  background-color: var(--dividerColor);
  margin-top: 12px;
  margin-bottom: 12px;
}

.shadow {
  box-shadow: var(--shadow, var(--shadowColor) 2px 2px 8px);
}

.background-color {
  background: var(--backgroundColor);
}

.backdrop-color {
  background: var(--backdropColor, var(--backgroundColor));
}